home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 1195 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: gate.net!pslfl2-14
  2. From: bhutto@gate.net (William Hutto)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Procedure for CRC-16 Value for a given text string
  5. Date: 11 Jan 1996 23:37:20 GMT
  6. Organization: CyberGate, Inc.
  7. Message-ID: <4d46vg$1vs0@news.gate.net>
  8. References: <30f486cf.64849689@news.alt.net> <4d21np$374@crl4.crl.com>
  9. NNTP-Posting-Host: pslfl2-14.gate.net
  10. X-Newsreader: News Xpress Version 1.0 Beta #4
  11.  
  12. In article <4d21np$374@crl4.crl.com>, kossick@crl.com (Paul J. Kossick) wrote:
  13. >JC (jcharper@alt.net) wrote:
  14. >
  15. >: To anyone with some knowledge of C - programming language. I need a
  16. >: procedure that will compute a CRC-16 value for a given text string.
  17. >: This should receive a text string as input and produce a two byte CRC
  18. >: value as output. The output has to be two data bytes. The carriage
  19. >: return byte is not to be included in the CRC computations. This should
  20. >: be able to read text strings from the terminal, call the procedure,
  21. >: and then print the string and the appropriate CRC value. The output
  22. >: will be the text string that was input and the corresponding CRC
  23. >: value. Then, the CRC value should be converted into a 4 digit Hex
  24. >: value. Any suggestions ???
  25. >
  26. >: Please help !!
  27. >
  28. >Why am I tempted to quote my consulting rates here?
  29. >
  30.  
  31. comp.lang.c (comp-lang-see) A fourth generation computer language with
  32.             English style statements (other languages through a translator)
  33.             with a highly intelligent multi-processing parser. Outputs 
  34.             generously commented C code.
  35.             
  36.             
  37. Bill
  38.  
  39. "Whatcha got on?...Your mind?"
  40.